<?php

session_start();
REQUIRE("../../include/connect.php");

$PAGE="<div class=\"G_TITRE_01\">Modification de news</div>";





//$PAGE.="<script>document.parent.loginform.news_text.value='$tmp_query[3]';</script>";


//$PAGE.="<script>change_news_mod('$ID');</script>" ;


$query="SELECT news_id, news_date, news_titre, news_text
FROM p_news  WHERE news_id=$ID
ORDER BY news_id DESC";
$resultat=mysql_query($query);
$tmp_query=mysql_fetch_array($resultat);

//$tmp_query[3]=htmlentities ($tmp_query[3]);
//$tmp_query[2]=htmlentities ($tmp_query[2]);


$PAGE.="<div id=\"ctr\" align=\"left\" whidth=\"250px\">
 <div class=\"MEV\"><u><b>$tmp_query[2]</b></u><br><br>
   $tmp_query[3]</div></div>";

echo $PAGE;

?>
